var e = require;
var t = module;
var o = exports;
Object.defineProperty(o, "__esModule", {value: !0}),
    (o.md5 = void 0),
    (o.md5 = function (e) {
        var t = function (e, t) {
                return (e << t) | (e >>> (32 - t));
            },
            o = function (e, t) {
                var o, n, i, a, r;
                return (
                    (i = 2147483648 & e),
                    (a = 2147483648 & t),
                    (r = (1073741823 & e) + (1073741823 & t)),
                    (o = 1073741824 & e) & (n = 1073741824 & t)
                        ? 2147483648 ^ r ^ i ^ a
                        : o | n
                        ? 1073741824 & r
                            ? 3221225472 ^ r ^ i ^ a
                            : 1073741824 ^ r ^ i ^ a
                        : r ^ i ^ a
                );
            },
            n = function (e, t, o) {
                return (e & t) | (~e & o);
            },
            i = function (e, t, o) {
                return (e & o) | (t & ~o);
            },
            a = function (e, t, o) {
                return e ^ t ^ o;
            },
            r = function (e, t, o) {
                return t ^ (e | ~o);
            },
            s = function (e, i, a, r, s, c, l) {
                return (e = o(e, o(o(n(i, a, r), s), l))), o(t(e, c), i);
            },
            c = function (e, n, a, r, s, c, l) {
                return (e = o(e, o(o(i(n, a, r), s), l))), o(t(e, c), n);
            },
            l = function (e, n, i, r, s, c, l) {
                return (e = o(e, o(o(a(n, i, r), s), l))), o(t(e, c), n);
            },
            d = function (e, n, i, a, s, c, l) {
                return (e = o(e, o(o(r(n, i, a), s), l))), o(t(e, c), n);
            },
            u = function (e) {
                for (
                    var t, o = e.length, n = o + 8, i = 16 * ((n - (n % 64)) / 64 + 1), a = Array(i - 1), r = 0, s = 0;
                    s < o;

                )
                    (r = (s % 4) * 8), (a[(t = (s - (s % 4)) / 4)] = a[t] | (e.charCodeAt(s) << r)), s++;
                return (
                    (r = (s % 4) * 8),
                    (a[(t = (s - (s % 4)) / 4)] = a[t] | (128 << r)),
                    (a[i - 2] = o << 3),
                    (a[i - 1] = o >>> 29),
                    a
                );
            },
            p = function (e) {
                var t,
                    o = "",
                    n = "";
                for (t = 0; t <= 3; t++) o += (n = "0" + ((e >>> (8 * t)) & 255).toString(16)).substr(n.length - 2, 2);
                return o;
            },
            h = function (e) {
                e = e.toString().replace(/\x0d\x0a/g, "\n");
                for (var t = "", o = 0; o < e.length; o++) {
                    var n = e.charCodeAt(o);
                    n < 128
                        ? (t += String.fromCharCode(n))
                        : n > 127 && n < 2048
                        ? ((t += String.fromCharCode((n >> 6) | 192)), (t += String.fromCharCode((63 & n) | 128)))
                        : ((t += String.fromCharCode((n >> 12) | 224)),
                          (t += String.fromCharCode(((n >> 6) & 63) | 128)),
                          (t += String.fromCharCode((63 & n) | 128)));
                }
                return t;
            };
        return (function (e) {
            var t,
                n,
                i,
                a,
                r,
                f,
                _,
                y,
                m,
                g = Array();
            for (
                e = h(e), g = u(e), f = 1732584193, _ = 4023233417, y = 2562383102, m = 271733878, t = 0;
                t < g.length;
                t += 16
            )
                (n = f),
                    (i = _),
                    (a = y),
                    (r = m),
                    (f = s(f, _, y, m, g[t + 0], 7, 3614090360)),
                    (m = s(m, f, _, y, g[t + 1], 12, 3905402710)),
                    (y = s(y, m, f, _, g[t + 2], 17, 606105819)),
                    (_ = s(_, y, m, f, g[t + 3], 22, 3250441966)),
                    (f = s(f, _, y, m, g[t + 4], 7, 4118548399)),
                    (m = s(m, f, _, y, g[t + 5], 12, 1200080426)),
                    (y = s(y, m, f, _, g[t + 6], 17, 2821735955)),
                    (_ = s(_, y, m, f, g[t + 7], 22, 4249261313)),
                    (f = s(f, _, y, m, g[t + 8], 7, 1770035416)),
                    (m = s(m, f, _, y, g[t + 9], 12, 2336552879)),
                    (y = s(y, m, f, _, g[t + 10], 17, 4294925233)),
                    (_ = s(_, y, m, f, g[t + 11], 22, 2304563134)),
                    (f = s(f, _, y, m, g[t + 12], 7, 1804603682)),
                    (m = s(m, f, _, y, g[t + 13], 12, 4254626195)),
                    (y = s(y, m, f, _, g[t + 14], 17, 2792965006)),
                    (_ = s(_, y, m, f, g[t + 15], 22, 1236535329)),
                    (f = c(f, _, y, m, g[t + 1], 5, 4129170786)),
                    (m = c(m, f, _, y, g[t + 6], 9, 3225465664)),
                    (y = c(y, m, f, _, g[t + 11], 14, 643717713)),
                    (_ = c(_, y, m, f, g[t + 0], 20, 3921069994)),
                    (f = c(f, _, y, m, g[t + 5], 5, 3593408605)),
                    (m = c(m, f, _, y, g[t + 10], 9, 38016083)),
                    (y = c(y, m, f, _, g[t + 15], 14, 3634488961)),
                    (_ = c(_, y, m, f, g[t + 4], 20, 3889429448)),
                    (f = c(f, _, y, m, g[t + 9], 5, 568446438)),
                    (m = c(m, f, _, y, g[t + 14], 9, 3275163606)),
                    (y = c(y, m, f, _, g[t + 3], 14, 4107603335)),
                    (_ = c(_, y, m, f, g[t + 8], 20, 1163531501)),
                    (f = c(f, _, y, m, g[t + 13], 5, 2850285829)),
                    (m = c(m, f, _, y, g[t + 2], 9, 4243563512)),
                    (y = c(y, m, f, _, g[t + 7], 14, 1735328473)),
                    (_ = c(_, y, m, f, g[t + 12], 20, 2368359562)),
                    (f = l(f, _, y, m, g[t + 5], 4, 4294588738)),
                    (m = l(m, f, _, y, g[t + 8], 11, 2272392833)),
                    (y = l(y, m, f, _, g[t + 11], 16, 1839030562)),
                    (_ = l(_, y, m, f, g[t + 14], 23, 4259657740)),
                    (f = l(f, _, y, m, g[t + 1], 4, 2763975236)),
                    (m = l(m, f, _, y, g[t + 4], 11, 1272893353)),
                    (y = l(y, m, f, _, g[t + 7], 16, 4139469664)),
                    (_ = l(_, y, m, f, g[t + 10], 23, 3200236656)),
                    (f = l(f, _, y, m, g[t + 13], 4, 681279174)),
                    (m = l(m, f, _, y, g[t + 0], 11, 3936430074)),
                    (y = l(y, m, f, _, g[t + 3], 16, 3572445317)),
                    (_ = l(_, y, m, f, g[t + 6], 23, 76029189)),
                    (f = l(f, _, y, m, g[t + 9], 4, 3654602809)),
                    (m = l(m, f, _, y, g[t + 12], 11, 3873151461)),
                    (y = l(y, m, f, _, g[t + 15], 16, 530742520)),
                    (_ = l(_, y, m, f, g[t + 2], 23, 3299628645)),
                    (f = d(f, _, y, m, g[t + 0], 6, 4096336452)),
                    (m = d(m, f, _, y, g[t + 7], 10, 1126891415)),
                    (y = d(y, m, f, _, g[t + 14], 15, 2878612391)),
                    (_ = d(_, y, m, f, g[t + 5], 21, 4237533241)),
                    (f = d(f, _, y, m, g[t + 12], 6, 1700485571)),
                    (m = d(m, f, _, y, g[t + 3], 10, 2399980690)),
                    (y = d(y, m, f, _, g[t + 10], 15, 4293915773)),
                    (_ = d(_, y, m, f, g[t + 1], 21, 2240044497)),
                    (f = d(f, _, y, m, g[t + 8], 6, 1873313359)),
                    (m = d(m, f, _, y, g[t + 15], 10, 4264355552)),
                    (y = d(y, m, f, _, g[t + 6], 15, 2734768916)),
                    (_ = d(_, y, m, f, g[t + 13], 21, 1309151649)),
                    (f = d(f, _, y, m, g[t + 4], 6, 4149444226)),
                    (m = d(m, f, _, y, g[t + 11], 10, 3174756917)),
                    (y = d(y, m, f, _, g[t + 2], 15, 718787259)),
                    (_ = d(_, y, m, f, g[t + 9], 21, 3951481745)),
                    (f = o(f, n)),
                    (_ = o(_, i)),
                    (y = o(y, a)),
                    (m = o(m, r));
            return (p(f) + p(_) + p(y) + p(m)).toLowerCase();
        })(e);
    });
